package main

import (
	"fmt"
	"golang_learn/day1/calc"
)

func main() {
	var ch chan int
	ch = make(chan int, 100)
	for index := 0; index < 100; index++ {
		go calc.Add(0, index, ch)

	}
	for index := 0; index < 100; index++ {
		fmt.Println(<-ch)
	}
}
